package com.awesome.activitydemo.activities.transform2

import android.content.Intent
import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle
import android.widget.ImageView
import com.awesome.activitydemo.R

class OneActivity2 : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.activity_one2)
        findViewById<ImageView>(R.id.image).setOnClickListener {
            startActivity(Intent(this,TwoActivity2::class.java))
            overridePendingTransition(0,0)
        }
    }
}